package com.wq.sofa.framework.bolt.client;

import com.alipay.remoting.BizContext;
import com.alipay.remoting.rpc.protocol.SyncUserProcessor;
import com.wq.sofa.framework.bolt.model.CommonRequest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @Author: wangqiang20995
 * @Date:2018/9/19
 * @Description:
 * @Resource:
 */
public class SimpleOSProcessor extends SyncUserProcessor<CommonRequest> {

    private Logger logger = LoggerFactory.getLogger(getClass());

    @Override
    public Object handleRequest(BizContext bizContext, CommonRequest commonRequest) throws Exception {
        logger.info("receive server response message --> [{}]",commonRequest);
        return null;
    }

    @Override
    public String interest() {
        return CommonRequest.class.getName();
    }
}
